package day4;

/**
 * @author oldliu
 * @since 1.0
 */
public class Taxi {
    String chepai;
    String company;
    int gonglijiage;
    public Taxi(String c,String com,int j){
        this.chepai=c;
        this.company=com;
        this.gonglijiage=j;
    }
    public void show(){
        System.out.println("这辆出租车，属于"+this.company+"，车牌号是"+chepai+"，每公里价格是"+this.gonglijiage);
    }
}
